import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        int a=5;
        int b=3;
        a=a^b;
        b=a^b;
        a=a^b;
        System.out.println(a+" "+b);
    }
    public static void main3(String[] args) {
        int a=5;
        int b=3;
        a=a+b;
        b=a-b;
        a=a-b;
        System.out.println(a+" "+b);
    }
    public static void main2(String[] args) {
        int j=0;
        for (int i = 100; i <=200 ; i++) {
            for ( j = 2; j <=Math.sqrt(i) ; j++) {

                if(i%2==0){
                    break;
                }
            }
            if(j>Math.sqrt(i))
            {
                System.out.print(i+" ");
            }
        }
    }
    public static void main1(String[] args) {
        Scanner sc=new Scanner(System.in);
        String str=sc.nextLine();
        String[] s1=str.split(" ");
        for (int i = s1.length-1; i >=0 ; i--) {
            System.out.print(s1[i]+" ");
        }
    }
}
